package com.me.generatePB;

import java.util.List;

/**
 * 需要生成的PB属性
 * 
 * @author Administrator
 *
 */
public class PBModel {
	/**
	 * pb解析语法版本syntax
	 */
	private String syntax = "proto3";

	/**
	 * 设置生成PB文件的后缀名
	 */
	private String suffix = "proto";

	/**
	 * 需要导入的头文件
	 */
	private List<String> importList;

	/**
	 * 额外的属性 Map<列名字,Map<列注释,列类型>>
	 */
	private List<Column> additionalColumns;

	/**
	 * PB的文件名字
	 */
	private String pbFileName;
	/**
	 * PB的Class名字
	 */
	private String pbClassName;

	/**
	 * 数据库的列 Map<列名字,Map<列注释,列类型>>
	 */
	private List<Column> columns;

	public String getSyntax() {
		return syntax;
	}

	public void setSyntax(String syntax) {
		this.syntax = syntax;
	}

	public List<String> getImportList() {
		return importList;
	}

	public void setImportList(List<String> importList) {
		this.importList = importList;
	}

	public String getPbFileName() {
		return pbFileName;
	}

	public void setPbFileName(String pbFileName) {
		this.pbFileName = pbFileName;
	}

	public String getPbClassName() {
		return pbClassName;
	}

	public void setPbClassName(String pbClassName) {
		this.pbClassName = pbClassName;
	}

	public List<Column> getAdditionalColumns() {
		return additionalColumns;
	}

	public void setAdditionalColumns(List<Column> additionalColumns) {
		this.additionalColumns = additionalColumns;
	}

	public List<Column> getColumns() {
		return columns;
	}

	public void setColumns(List<Column> columns) {
		this.columns = columns;
	}

	public String getSuffix() {
		return suffix;
	}

	public void setSuffix(String suffix) {
		this.suffix = suffix;
	}

}
